#ifndef _GBTEST_H_
#define _GBTEST_H_

#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <linux/fb.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <string.h>
#include "iconv.h"
#include "lcd_draw.h"


#define RED_COLOR    0xF800
#define GREEN_COLOR  0x07E0
#define BLUE_COLOR   0x001F

void PutPixel(unsigned int x,unsigned int y,unsigned int c);
int code_convert(char *encFrom, char *encTo, char *inbuf, size_t *inlen, char *outbuf, size_t *outlen);
void lcd_disp_hzk16(int x,int y,char *s,int color, unsigned char hzk16[]);
void lcd_disp_ascii16x8(int x,int y,char *s,int color, unsigned char arcii16x8[]);
void showinfor(unsigned char arcii16x8[], unsigned char hzk16[]);
void showSpeed(int speed, unsigned char arcii16x8[]);
#endif